package com.jinzhi.jzweb.service.impl;

import com.jinzhi.common.base.CoreServiceImpl;
import com.jinzhi.jzweb.dao.ExaminationAnswerPracticeSheetDao;
import com.jinzhi.jzweb.domain.ExaminationAnswerPracticeSheetDO;
import com.jinzhi.jzweb.domain.vo.Data7Vo;
import com.jinzhi.jzweb.service.ExaminationAnswerSheetPracticeService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 
 * <pre>
 * 考试答卷
 * </pre>
 * <small> 2020-02-24 21:00:12 | lance</small>
 */
@Service
public class ExaminationAnswerSheetPracticeServiceImpl extends CoreServiceImpl<ExaminationAnswerPracticeSheetDao, ExaminationAnswerPracticeSheetDO> implements ExaminationAnswerSheetPracticeService {

    @Override
    public Integer totalByPrId(Long profileId, int grade) {
        return baseMapper.totalByPrId(profileId,grade);
    }

    @Override
    public List<Data7Vo> exSheettotal() {
        return baseMapper.exSheettotal();
    }
}
